package com.woniuxy.edubureau.dao;

import com.woniuxy.commons.entity.SchoolLeader;
import com.woniuxy.commons.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: luojiwei
 * @date: 2020/7/17 15:04
 * @description: 创建校长
 */
@Mapper
public interface LeaderMapper {
    public int createLeader(SchoolLeader schoolLeader);
    public List<SchoolLeader> getSchoolLeaderByPage(int page,int limit);
    public Long getSchoolLeaderOfNums();
    public int getMaxId();
    public SchoolLeader getSchoolLeaderById(int lid);
    public void add(User user);
}
